package Domain;
/*
名称name（String类型） 价格price（double类型） 类型type（String类型）
 */
public class Phone {
    private String name;
    private double price;
    private String type;
    //Constructor=========================================================
    public Phone() {

    }

    public Phone(String name, double price, String type) {
        this.name = name;
        this.price = price;
        this.type = type;
    }
//Getter and Setter======================================================
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
